- published: 28 Feb 2014
- views: 17333
Caret ( /ˈkærət/) usually refers to the spacing symbol ^ in ASCII (at code point 5Ehex) and other character sets. In Unicode, however, the corresponding character is U+005E ^ circumflex accent (HTML: ^
), whereas the Unicode character named caret is actually a similar but lowered symbol: U+2038 ‸ caret (HTML: ‸
).
A caret can also be called a wedge, up-arrow, hat, control character, or chevron.
In graphical user interface terminology, caret sometimes refers to a text insertion point indicator, often a blinking vertical bar. In this context, it may be used interchangeably with the word cursor.
As the variation in naming shows, the origins of the character are twofold. The caret was originally used, and continues to be, in handwritten form as a proofreading mark to indicate where a punctuation mark, word, or phrase should be inserted in a document. The term comes from the Latin caret, "it lacks", from 'carēre', to lack; to be separated from; to be free from. The caret symbol is written below the line of text for a line-level punctuation mark such as a comma, or above for a higher character such as an apostrophe; the material to be inserted may be placed inside the caret, in the margin, or above the line.